<!DOCTYPE html>
<html>

<head>
    <title>后台管理系统 </title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="__SKIN__/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <script src="__SKIN__/css/admin.css"></script>
    <script src="__SKIN__/js/jquery.js"></script>
    <link href="__SKIN__/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <link href="__SKIN__/css/index.css" rel="stylesheet">
   
</head>

<body>



    <div class="msg"></div>
   

    <form action="/comm/wxpay/pay/?config_name=wx" method="POST">
      <input type="text" value="" name="openid" id="openid">
      <input type="text" value="t202003175170213" name="orderid">
      <input type="text" value="100" name="price">
      <input type="text" value="测试产品" name="title">
      <input type="text" value="/wx/index/index/" name="successurl">
      <input type="text" value="/wx/index/index/" name="failurl">
      <input type="submit" value="支付" >
    </form>
    <script>


        function dodata(data)
        {
       
            if(data.url!=""){
                document.location.href=data.url;return; //没有登录，则转登录
            }
            if(data.code>0){ 
               $("#openid").val(data.openid);
            }
         
        }

  
    </script>
 <script src="/autologin/wxlogin/checkloginjsonp?config_name=wx&callback=dodata"></script>
</body>


</html>